package com.hutao.medical.mapper.print;

import com.hutao.medical.common.util.Params;
import com.hutao.medical.pojo.print.MrInBaisc;
import com.hutao.medical.pojo.print.MrInBaiscExample;

import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MrInBaiscMapper {
    int countByExample(MrInBaiscExample example);

    int deleteByExample(MrInBaiscExample example);

    int deleteByPrimaryKey(BigDecimal id);

    int insert(MrInBaisc record);

    int insertSelective(MrInBaisc record);

    List<MrInBaisc> selectByExample(MrInBaiscExample example);

    MrInBaisc selectByPrimaryKey(BigDecimal id);

    int updateByExampleSelective(@Param("record") MrInBaisc record, @Param("example") MrInBaiscExample example);

    int updateByExample(@Param("record") MrInBaisc record, @Param("example") MrInBaiscExample example);

    int updateByPrimaryKeySelective(MrInBaisc record);

    int updateByPrimaryKey(MrInBaisc record);
    
    List<MrInBaisc> getMrListPag(Params params);
}